package com.sunlee.app.api.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信小程序登录
 *
 * @author sunlee
 */
@Data
public class WxMpLoginDTO {

    @NotBlank(message="code不能为空")
    private String code;

    private String userName;

    private String headImg;
}